<div class="head-box" id="headBox">
	<div class="logo"></div>
	<div class="first-menu">
		<ul class="first-menu-ul">
        	<li><a href="<?php echo $this->baseUrl ?>/index">首页</a></li>
            <li <?php if ($this->template == 'project'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/project/index">项目管理</a></li>	
            <li <?php if ($this->template == 'student'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/student/index">学生管理</a></li> 
            <li <?php if ($this->template == 'class'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/class/index">班级管理</a></li>
            <li <?php if ($this->template == 'company'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/company/index">客户管理</a></li>
            <li <?php if ($this->template == 'course' || $this->template == 'product'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/course/list">课程管理</a></li>
            <li <?php if ($this->template == 'teacher' || $this->template == 'department'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/teacher/list">教师管理</a></li>
            <li <?php if ($this->template == 'tag' || $this->template == 'tree'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/tag/index">标签管理</a></li>
            <li <?php if ($this->template == 'system'): ?> class="on" <?php endif; ?>><a href="<?php echo $this->baseUrl ?>/system/index">系统管理</a></li>
            <li><a href="<?php echo $this->baseUrl ?>/user/logout" onclick="return confirm('您真的要退出吗？')?true:false;">退出系统</a></li>
		</ul>
	</div>
	<div class="second-menu">
		<ul class="second-menu-ul">
 <!--            <?php if ($this->template == 'project'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/project/index">项目首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/project/add">项目添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/project/list">项目列表</a></li>
            <?php endif; ?>
        
            <?php if ($this->template == 'tag' || $this->template == 'tree'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/tag/index">标签首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/tag/add">标签添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/tag/list">标签列表</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/tree/add">标签树添加</a></li>
            <li class="line"></li>
    		<li><a href="<?php echo $this->baseUrl ?>/tree/manage?tree_id=1">标签树管理</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/tree/list">标签树列表</a></li>
            <?php endif; ?>
           
            <?php if ($this->template == 'student'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/student/index">学生首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/student/add">学生添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/student/list">学生列表</a></li>
            <?php endif; ?>
            <?php if ($this->template == 'class'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/class/index">班级首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/class/add">班级添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/class/list">班级列表</a></li>
            <?php endif; ?>
            <?php if ($this->template == 'company'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/company/index">客户首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/company/add">客户添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/company/list">客户列表</a></li>
            <?php endif; ?>
            <?php if ($this->template == 'course' || $this->template == 'product' || $this->template == 'material'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/course/index">课程首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/course/add">课程添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/course/list">课程列表</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/product/add">产品添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/product/list">产品列表</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/material/add">教材添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/material/index">教材列表</a></li>
            <?php endif; ?>
            <?php if ($this->template == 'teacher' || $this->template == 'department'): ?>
            <li><a href="<?php echo $this->baseUrl ?>/teacher/index">教师首页</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/teacher/add">教师添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/teacher/list">教师列表</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/department/add">专业添加</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/department/list">专业列表</a></li>
            <?php endif; ?>
   -->          
            <?php if ($this->template == 'system'): ?>
            <!--li><a href="<?php echo $this->baseUrl ?>/system/operation/list">操作记录</a></li>
            <li class="line"></li-->
            <li><a href="<?php echo $this->baseUrl ?>/user/list">用户管理</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/group/list">用户分组</a></li>
            <li class="line"></li>
            <li><a href="<?php echo $this->baseUrl ?>/excel/index">批量上传</a></li>
            <?php endif; ?>
		</ul>
	</div>
</div>